package com.wl.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Post {
    private Integer postId;
    private String title;
    private String coverImg;
    private Integer categoryId;
    private List<Integer> tagIds;
    private String summary;
    private String content;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer userId;
    private Integer pageView;
    private List<String> tagNames;
    private Integer likeCount;
    private String username;
    private Integer commentCount;
}
